package com.liuyucheng.designpattern.工厂模式.abstractfactory;

public class AfClient {
    public static void main(String[] args) {
        //小米
        XiaomiFactory fac1 = new XiaomiFactory();
        fac1.producePhone().call();
        fac1.produceRouter().openWifi();

        //华为
        HuaWeiFactory fac2 = new HuaWeiFactory();
        fac2.producePhone().call();
        fac2.produceRouter().openWifi();
    }
}
